/*!
 * HITACHI VANTARA PROPRIETARY AND CONFIDENTIAL
 *
 * Copyright 2017 Hitachi Vantara. All rights reserved.
 *
 * NOTICE: All information including source code contained herein is, and
 * remains the sole property of Hitachi Vantara and its licensors. The intellectual
 * and technical concepts contained herein are proprietary and confidential
 * to, and are trade secrets of Hitachi Vantara and may be covered by U.S. and foreign
 * patents, or patents in process, and are protected by trade secret and
 * copyright laws. The receipt or possession of this source code and/or related
 * information does not convey or imply any rights to reproduce, disclose or
 * distribute its contents, or to manufacture, use, or sell anything that it
 * may describe, in whole or in part. Any reproduction, modification, distribution,
 * or public display of this information without the express written authorization
 * from Hitachi Vantara is strictly prohibited and in violation of applicable laws and
 * international treaties. Access to the source code contained herein is strictly
 * prohibited to anyone except those individuals and entities who have executed
 * confidentiality and non-disclosure agreements or other agreements with Hitachi Vantara,
 * explicitly covering such access.
 */

/* FILES */
files .filesWrapper {
  width: 100%;
  height: 100%;
  min-width: 630px;
  overflow: hidden;
}

files table {
  width: 100%;
  border: none;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
}

files table.headerTable {
  min-width: 630px;
}

files .headerWrapper {
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
  border: 0;
  height: 31px;
  position: absolute;
  top: 0;
  left: 0;
}

files .bodyWrapper {
  width: 100%;
  overflow: auto;
  padding: 0;
  margin: 31px 0 0 0;
  border: 0;
  height: calc(100% - 31px);
}

files .headerWrapper table {
  background-color: #FAFAFA;
  text-align: left;
  line-height: 29px;
}

files thead,
files tbody {
  width: 100%;
}

files .typeCell {
  width: 105px;
}

files .dateCell {
  width: 125px;
}

.save files .scrollTableSave th.dateCell,
.open files .scrollTableOpen th.dateCell {
  width: 142px;
}

files th,
files td {
  text-align: left;
  line-height: 18px;
  padding: 6px 10px;
  white-space: nowrap;
  cursor: pointer;
}

files td {
  border-left: 1px solid transparent;
}

files td.editing {
  padding-top: 0;
  padding-bottom: 0;
}

files th {
  border-bottom: 1px solid #CCC;
  border-left: 1px solid #CCC;
  background: #FAFAFA;
  font-weight: normal;
}

files th:first-child {
  border-left: 0 none;
}

files tbody tr.selected td,
files tbody tr.selected:hover td,
files tbody tr.selected .fileModified,
files tbody tr.selected .fileType {
  background-color: #005DA6;
  color: #FFFFFF;
}

files tbody tr:hover td {
  background-color: #E6EFF6;
}

files tbody td div {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

files tr .fileName {
  padding-left: 10px;
}

files tr .fileName input {
  display: none;
}

files tr .fileName .editing span {
  display: none;
}

files tr .fileName .editing input {
  display: block;
  border: 0 none;
  outline: none;
  font-family: OpenSansRegular;
  font-size: 14px;
  width: 98%;
  padding: 0;
  height: 18px;
}

files tr .fileTypeIcon {
  height: 16px;
  width: 16px;
  float: left;
}

files td.editing .fileTypeIcon {
  margin-top: 3px;
}

files tr .fileTypeIcon.file-trans {
  background: url("../../img/trans_small.svg") no-repeat left center;
}

files tr .fileTypeIcon.file-job {
  background: url("../../img/job_small.svg") no-repeat left center;
}

files tr .fileTypeIcon.file-folder {
  background: url("../../img/folder.svg") no-repeat left center;
}

files tr.selected .fileTypeIcon {
  background-position: right center;
}

files .headerLabel {
  float: left;
}

files .fileLocation {
  display: none;
}

files .searchTable .fileLocation {
  display: block;
}

files .searchTable tr {
  line-height: 60px;
  height: 60px;
}

files .searchTable .fileName {
  margin-bottom: 10px;
}

files .fileType::first-letter {
  text-transform: capitalize;
}

files .searchTable .fileType,
files .searchTable .fileModified {
  height: 44px;
}

files .fileModified,
files .fileType {
  color: #999;
}

files tr .fileLocation {
  color: #999;
  padding-left: 26px;
}

files tr.selected .fileLocation {
  color: #FFF;
}

files th:hover .sort {
  visibility: visible;
}

files .sortWrapper {
  float: right;
}

files .sortWrapper .sort {
  background: url("../../img/sort_none.svg") center no-repeat;
  height: 17px;
  width: 10px;
  visibility: hidden;
}

files .sortWrapper .sort.sortUp {
  background-image: url("../../img/sort_up.svg");
  visibility: visible;
}

files .sortWrapper .sort.sortDown {
  background-image: url("../../img/sort_down.svg");
  visibility: visible;
}
